<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {

	public function _initDb() {
		
		$config = array(
			"host" => "mysql13.000webhost.com",
			"dbname" => "a9521474_bga",
			"username" => "a9521474_admin",
			"password" => "rhok2011"
		);
		$db = new Zend_Db_Adapter_Mysqli($config);
		Zend_Db_Table::setDefaultAdapter($db);
		
	}
	
	public function _initView() {
		
		$view = new Zend_View();
		$view->doctype("HTML5");
		$view->headTitle("Bird Game App");
		$view->headTitle()->setSeparator(" | ");
		$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper("ViewRenderer");
		$viewRenderer->setView($view);
		
	}

}